scala match default

211

scala match default -

something match {
    case "val" => "found match!!"
    case _ => "default case"
}

Comments

Submit
0 Comments